package com.akuhome.resource.service.need;

import com.akuhome.resource.DO.need.Need;
import com.akuhome.resource.dao.NeedDao;
import com.akuhome.resource.enums.NeedStatus;
import com.akuhome.resource.enums.NeedType;

import java.util.List;
import java.util.Map;

public interface NeedService<T extends Need> {
    void insertNeed(T need);
    void insertNeedDetails(Map<String,Object> insertMap);
    T findNeedByProjectUid(String projectUid);
    void updateNeedStatusByProjectUid(String uid, NeedStatus needType);
    void updateNeed(T Need);
}
